<template>
  <div>
    <h2>v-model原理</h2>
    <my-input v-model="uname"></my-input>
  </div>
</template>

<script>
import MyInput from '@/components/MyInput.vue'
export default {
  data() {
    return {
      uname: 'lisi'
    }
  },
  components:{
    MyInput
  }
}
</script>